package IDao;

import java.util.List;

import pojo.Food;

public interface FoodMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(Food record);

	int insertSelective(Food record);

	Food selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Food record);

	int updateByPrimaryKey(Food record);

	List<Food> selectAllFood();

	Food selectByName(String name);
}